package com.example.goodog.items;

import com.example.goodog.interfaces.IShowCalendar;
import com.example.goodog.interfaces.IShowDriveToButton;
import com.example.goodog.interfaces.IShowMailButton;
import com.example.goodog.interfaces.IShowOnMap;
import com.example.goodog.interfaces.IShowPhoneButton;


public class ParkItem extends ListItem implements IShowPhoneButton, IShowDriveToButton, IShowMailButton, IShowOnMap,IShowCalendar {

	public String Address;
	public String PhoneString;
	public String Mail;
	public boolean Light;
	public short Beches;
	public short Active;
	
	
	public ParkItem()
	{
	}
	


	@Override
	public String GetPhoneNumber() {
		// TODO Auto-generated method stub
		if(PhoneString == null)
			return "";
		return PhoneString;
	}

	@Override
	public String GetMailAddress() {
		// TODO Auto-generated method stub
		if(Mail == null)
			return "";
		return Mail;
	}

	@Override
	public String GetMailSubject() {
		// TODO Auto-generated method stub
		return "";
	}

	@Override
	public String GetMailBody() {
		// TODO Auto-generated method stub
		return "";
	}
	
	@Override
	public String GetTilte() {
		// TODO Auto-generated method stub
		if(Address == null)
			return "";
		return Address;
	}

	@Override
	public String GetSnippet() {
		// TODO Auto-generated method stub
		return Integer.toString(Active);
	}



	@Override
	public long GetID() {
		
		return ID;
	}
}
